const readline = require('readline-sync');



let reg = /^[1-9][0-9]{4,9}$/;
let str = '199296146';
console.log(reg.test(str));